package com.example.mall.service;


import com.example.mall.mbg.model.Data;
import com.example.mall.mbg.model.Score;

import java.util.List;

/**
 * DataService
 * Created by on 2023/12/27.
 */
public interface DataService {
    List<Data> listAll();

    int create(Data data);

    int update(Integer dataid, Data data);

    int delete(Integer dataid);

    List<Data> list(int pageNum, int pageSize);

    Data get(Integer dataid);

    int getNextId();

    void deleteAll();
}
